Repository navigation
fix(id): validate serve-proxy frame semantics - #8971
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 28 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
CI checkpoint after merge of latest main: PR remains OPEN and unmerged. The new-head check read shows the required |
|
Fresh check update on head |
74ea286 to
a30d5a8
Compare
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
agent-note:v1 |
Summary
Frame::validaterequire stream IDs on OPEN/DATA/CLOSE
allow connection- or stream-scoped WINDOW_UPDATE
keep PING/PONG/RESUME/RESUME_ACK/ERROR leg-level
require sequence zero except on DATA
require exactly 4 WINDOW_UPDATE payload bytes
Constructed and decoded frames use the same validation. The ERROR helper now creates a leg-level frame by construction.
Fixes #8951
Evidence
cargo test --manifest-path pkgs/id/Cargo.toml --lib serve_proxypassed 11/11 before the final main fast-forward;rustfmt --check --edition 2024 pkgs/id/src/serve_proxy.rsandgit diff --checkpassed. A post-fast-forward focused run is still in progress.Merge Danger
Door: two-way
Blast Radius: narrow — serve-proxy frame codec validation.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.